﻿
@{
    ViewBag.Title = "Choose Blog";
}

<h2>Choose Blog</h2>

@using (Html.BeginForm("BlogSelected", "ChooseBlog", FormMethod.Post)) {
    @Html.AntiForgeryToken()

    <fieldset class="form-horizontal">
        <legend></legend>
        <div class="row">
        <div class="col-sm-5 col-md-5 col-lg-5">
        <div class="form-group">
            @Html.Label("Blog", new { @class = "control-label" })
            <div class="controls">
                @Html.DropDownList("blogName", (List<SelectListItem>)ViewBag.BlogDataList, "", new { @class = "form-control input-sm" })
                @Html.Hidden("returnUrl", (string)ViewBag.ReturnUrl)
            </div>
        </div>
        </div>
        </div>
        <div class="form-actions">
            <input type="submit" value="Select Blog" class="btn btn-default btn-primary" />
        </div>
    </fieldset>

}

